using Gameplay.PVE.Data;
using Yoozoo.Libs;

namespace Gameplay.PVE.Entity
{
    public class VehicleUnit : UnitBase
    {
        private RenderComponent renderComponent;

        public override void Initialize(UnitData data)
        {
            base.Initialize(data);
            AddComponent<BehaviorComponent>();
            AddComponent<SearchComponent>();
            AddComponent<MoveComponent>();
            AddComponent<ObstacleAvoidComponent>();
            renderComponent = AddComponent<RenderComponent>();
            OnInitialize();
        }

        
        
        protected override void Dispose()
        {
            
        }
    }
}